/*
 * Group 3, User Interface Programming II (vt11)
 * Pooya | Flora | Monica | Can
 */
package vical.action;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import vical.model.Internationalization;
import vical.view.MainWindow;
import vical.view.AboutDialog;

/**
 * Display the "about" dialog under "Help" menu.
 *
 * @author WoKe
 */
public class AboutAction extends AbstractAction {
    private MainWindow mainWindow;

    public AboutAction() {
        super(Internationalization.getString("aboutItem"));
        putValue(MNEMONIC_KEY, Internationalization.getMnemonic("mnemonics_help_about"));
    }

    public void actionPerformed(ActionEvent e) {
        AboutDialog aboutDialog = new AboutDialog();
        aboutDialog.setVisible(true);
                    
    }
}
